<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="widget widget-archives">
    <h3 class="widget-title">归档</h3>
    <ul>
        {% for date in date_list %}
            <li>
                <a href="{% url 'blog:archive' date.year date.month %}">
                    {{ date.year }} 年 {{ date.month }} 月
                </a>
            </li>
        {% endfor %}
    </ul>
</div>
</body>
</html>